package com.nowar.common.service;


import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.Locale;
import java.util.Properties;

/**
 * @Author: 谢无殇。
 * @Date : 2023-01-29 21:39
 */

public interface MessageProvide {

    String getMessage(String code);

    String getMessage(String code, Locale locale);

    String getValueProperties(String text);
}
